-- GENERATED SPELL FOR [Stormcrest Eagle] --


function spell0_29854(pUnit, Event) --@Talon,n/a--
pUnit:FullCastSpellOnTarget(43517,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_29854', 631, 1)
end

function Sorts_29854(pUnit, Event)
local choix_sorts_29854 = math.random(0, 0)
if choix_sorts_29854 == 0 then
pUnit:RegisterEvent('spell0_29854', 1, 1)
end
end

function mob29854_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_29854', math.random(1500, 3000), 1)
end

function mob29854_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob29854_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob29854_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(29854, 1, 'mob29854_Action')
RegisterUnitEvent(29854, 2, 'mob29854_Leave')
RegisterUnitEvent(29854, 3, 'mob29854_Kill')
RegisterUnitEvent(29854, 4, 'mob29854_Die')
